package homework.ooday05._cp;

public class Point {
    public static final double PI = 3.1415;

    private int x;
    private int y;

    public Point(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public static void main(String[] args) {
        Point p = new Point(741,852);
        System.out.println(p.getX());
        p.setX(963);
        System.out.println(p.getX());

        System.out.println(PI);
        System.out.println(Point.PI);

        //PI = 3.16666;
    }
}
